//
//  ZakatCalculatorViewController.h
//  PrayerTimes
//
//  Created by Igor Karpenko on 6/8/13.
//  Copyright (c) 2013 Igor Karpenko. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "PTTextField.h"
#import "DataProvider.h"
#import "PrayerTimesManager.h"

@interface ZakatCalculatorViewController : UIViewController <UITextFieldDelegate> {
	DataProvider *dataProvider;
	PrayerTimesManager *prayerTimesManager;
}

@property (retain, nonatomic) NSArray *currencyItems;

@property (retain, nonatomic) IBOutlet UIImageView *overlayImage;
@property (retain, nonatomic) IBOutlet UIScrollView *scrollView;

@property (retain, nonatomic) IBOutlet UILabel *currencyLabel;
@property (retain, nonatomic) IBOutlet UILabel *titleLabel;
@property (retain, nonatomic) IBOutlet UILabel *cashLabel;
@property (retain, nonatomic) IBOutlet UILabel *savingLabel;
@property (retain, nonatomic) IBOutlet UILabel *businessLabel;
@property (retain, nonatomic) IBOutlet UILabel *investmenstsLabel;
@property (retain, nonatomic) IBOutlet UILabel *goldLabel;
@property (retain, nonatomic) IBOutlet UILabel *moneyLabel;
@property (retain, nonatomic) IBOutlet UILabel *otherLabel;
@property (retain, nonatomic) IBOutlet UILabel *deductLabel;
@property (retain, nonatomic) IBOutlet UILabel *totalLabel;
@property (retain, nonatomic) IBOutlet UILabel *zakatLabel;

@property (retain, nonatomic) IBOutlet PTTextField *cashTextField;
@property (retain, nonatomic) IBOutlet PTTextField *savingTextField;
@property (retain, nonatomic) IBOutlet PTTextField *businessTextField;
@property (retain, nonatomic) IBOutlet PTTextField *investmentsTextField;
@property (retain, nonatomic) IBOutlet PTTextField *goldTextField;
@property (retain, nonatomic) IBOutlet PTTextField *moneyTextField;
@property (retain, nonatomic) IBOutlet PTTextField *otherTextField;
@property (retain, nonatomic) IBOutlet PTTextField *deductTextField;
@property (retain, nonatomic) IBOutlet PTTextField *totalTextField;
@property (retain, nonatomic) IBOutlet PTTextField *zakatTextField;
@property (retain, nonatomic) IBOutlet PTTextField *currencyTextField;

@property (retain, nonatomic) IBOutlet UIButton *calculateButton;
@property (retain, nonatomic) IBOutlet UIButton *clearButton;

-(IBAction) calculateButtonTapped:(id)sender;
-(IBAction) clearButtonTapped:(id)sender;

@end
